package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.*;
import com.xxxx.server.pojo.result.EmployeeResult;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2020-10-15
 */
public interface IEmployeeService extends IService<Employee> {

    EmployeeResult selectAllEmployee(Integer currentPage, Integer size,Employee employee,String beginDateScope);

    RespBean add(Employee employee);

    RespBean getMaxWorkID();

    List<Position> getPositions();

    List<Nation> getNations();

    List<Joblevel> getJoblevels();

    List<PoliticsStatus> getPoliticsStatuss();

    List<Department> getDepartments();

    RespBean delete(Integer id);

    RespBean edit(Employee emp);

    void exportData(HttpServletResponse response) throws IOException;

    void adds(List<Employee> list);
}
